package cn.usian.service;

import cn.usian.jyzx.model.entity.h5.CartInfo;
import cn.usian.jyzx.model.vo.common.Result;
import jakarta.servlet.http.HttpServletRequest;

import java.util.List;

public interface CartService {
    void toCart(Long stuId, Integer stuNum);

    Result<List<CartInfo>> cartList();

    Result deleteCart(Integer id);

    Result checkCart(Integer id, Integer isChecked);

    Result allCheckCart(Integer isChecked);

    Result clearCart();
}
